<div class="layui-row layui-col-space20 contentTop">
	<section class="pc-banner">
	    <div class="swiper-container">
	        <div class="swiper-wrapper">
	        	<!--# 
		        	var attachmentId = core.config("首页banner图片").attachmentId;
		        	var navFiles = core.file(attachmentId); 
	        	-->
				<!--# for(file in navFiles){  -->
					<div class="swiper-slide <!--# if (fileLP.index == 0) { -->swiper-slide-center none-effect<!--# } -->"><a href="#"><img src="/core/file/download/${file.id }/${attachmentId}/${file.name }" ></a></div>
				<!--# }  -->
	        </div>
	    </div>
	    <div class="swiper-pagination"></div>
		<div class="swiper-button">
	     <div class="swiper-button-prev"></div>
	    <div class="swiper-button-next"></div></div>
	</section>

    <!-- Initialize Swiper -->
    <script>
	window.onload = function() {
    var swiper = new Swiper('.swiper-container',{
		//autoplay:3000,
		speed:1000,
		autoplayDisableOnInteraction : false,
		loop:true,
		centeredSlides : true,
		slidesPerView:2,
        pagination : '.swiper-pagination',
		paginationClickable:true,
		prevButton:'.swiper-button-prev',
        nextButton:'.swiper-button-next',
		onInit:function(swiper){
			swiper.slides[2].className="swiper-slide swiper-slide-active";//第一次打开不要动画
			},
        breakpoints: { 
                668: {
                    slidesPerView: 1,
                 }
            }
		});
		}
    </script>
</div>